#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>

#include "socket.h"
#include "func_config.h"
#include "ComPerifericos.h"
#include "log.h"
#include "constantes.h"


int main(int argc, char *argv[]){

	//t_log* log = log_create("RUNNER", LOG, DEBUG | INFO | WARNING, M_CONSOLE_DISABLE);
	t_log* log = log_create("RUNNER", LOG, DEBUG | INFO | WARNING, M_CONSOLE_ENABLE);

	log_info(log, "main", "Message info: %s", "Inicializando proceso RAID");

	//pthread_join( hiloPerif, NULL);

	ComPerifericos((void*)log);


   return(EXIT_SUCCESS);
}
